<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <input id="c-order_id" class="form-control" name="row[order_id]" type="hidden" value="{:input('order_id')}">
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('发货类型')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[type]', $typeList, 0)}
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shipping_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shipping_id" data-rule="required" data-source="shipping/index" class="form-control selectpage" name="row[shipping_id]" type="text"  value="" data-order-by='sort asc' data-params='{"custom[status]":"1"}'>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shipping_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shipping_no" data-rule="required" class="form-control" name="row[shipping_no]" type="text">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
